/**
	License:		Artistic license 2.0 (see license.txt, also available online at http://www.perlfoundation.org/artistic_license_2_0)
	Authors:		OrbitalLab (http://www.orbitallab.ru/moonglide/), 2007-2009

	File:			defShaderProv.d
	Description:	empty shader interface
	Date:			23.12.2007 by Jurec
*/

module moonglide.renderer.opengl.DefShaderProv;

import
	moonglide.renderer.IRendererRes,

	moonglide.renderer.opengl.OpenGLShaderWork;


//=============================================================
/// COpenGLDefShaderProvider - opengl default shader stuff
//=============================================================
class COpenGLDefShaderProvider : IShaderProvider
{
	public:
		bool Upload( inout CResShaderComposite sh )
		{
			return false;
		}
		bool Unload( inout CResShaderComposite sh )
		{
			return false;
		}

		void Enable()
		{
		}

		void Disable()
		{
		}

		void Bind( inout CResShaderComposite sh )
		{
			return false;
		}

		void Unbind( inout CResShaderComposite sh )
		{
			return false;
		}

		bool Analyze(inout CResShaderComposite sh)
		{
			return false;
		}

		bool Link(inout CResShaderComposite sh)
		{
			return false;
		}

		void SetLocal( inout SShaderLoc lo, ubyte sTy ) {}
		void SetEnv( inout SShaderLoc lo, ubyte sTy ) {}
}
